﻿using Microsoft.AspNetCore.Mvc;
using OnWork.Admin.Base;

namespace OnWork.Admin.Controllers
{
    /// <summary>
    /// 测试接口
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiExplorerSettingsOnWork("SwaggerDemo")]
    public class BaseOnWorkDemoController : BaseOnWorkController
    {
        /// <summary>
        /// 测试返回字符串
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string TestString()
        {
            return "返回字符串测试!";
        }
    }
}